package searchTree;

import java.util.ArrayList;
import java.util.Map;

public class GlobalData {
	Map<Integer,Map<Integer,String>> pathMap; // share this stuff through the constructors
	Map<Integer,Map<Integer,String>> pathMap2;
	ArrayList<searchTreeNode> soultions;
	int setting;
	volatile int k;
	
	public GlobalData(Map<Integer,Map<Integer,String>> pathMap,Map<Integer,Map<Integer,String>> pathMap2,int setting,int limit)
	{
		this.pathMap = pathMap;
		this.pathMap2 = pathMap2;
//		this.soultions = soultions;
		this.setting = setting;
		this.k = limit;
		
	}

	public Map<Integer, Map<Integer, String>> getPathMap() {
		return pathMap;
	}

	public Map<Integer, Map<Integer, String>> getPathMap2() {
		return pathMap2;
	}

	public void setSoultions(ArrayList<searchTreeNode> list) {
		this.soultions = list;
	}
	
	public ArrayList<searchTreeNode> getSoultions() {
		return soultions;
	}

	public int getSetting() {
		return setting;
	}

	public int getK() {
		return k;
	}

	public void setK(int k) {
		this.k = k;
	}
}
